Fix cargo test filtering for binaries
authorAlex Crichton <alex@alexcrichton.com>
Sat, 21 Mar 2015 00:47:34 +0000 (17:47 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 21 Mar 2015 00:48:17 +0000 (17:48 -0700)
commit26cf00490a3971f61c9a2d4fbef6906eb0205c2f
tree377a6eb36ac7c9c1931db65383b0b00854a483aa
parent9e77919855b2b05d38107fdba286b930fe4db333
Fix cargo test filtering for binaries

This adds a new `--bin` flag to `cargo test` to specifically say that a binary
should be tested. Additionally the dependencies are tweaked such that binaries
to not depend on themselves being available.
src/bin/test.rs
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_rustc/context.rs
tests/test_cargo_test.rs